SRCS=AccurateTimer.cpp \
 PauseImage.cpp \
 SDLVisualObject.cpp \
 Ball.cpp \
 Player.cpp \
 SDLVisualObjectProvider.cpp \
 Game.cpp \
 PlayerInput.cpp \
 Sparks.cpp \
 GameObject.cpp \
 Playfield.cpp \
 SplashScreen.cpp \
 Keyboard.cpp \
 Random.cpp \
 VisualObject.cpp \
 KeyboardPlayerInput.cpp \
 ScoreCounter.cpp \
 VisualObjectProvider.cpp \
 LinuxAccurateTimer.cpp \
 SDLGame.cpp \
 main.cpp \
 SDLKeyboard.cpp
CC=g++
CPPFLAGS=`sdl-config --cflags`
LDFLAGS=-lSDL -lSDL_image -lSDL_ttf
OBJECTS=$(SRCS:.cpp=.o)

pongpong: $(OBJECTS)
	$(CC) $(LDFLAGS) $(OBJECTS) -o $@

clean:
	rm -rf *.o pongpong

.PHONY: clean
